package com.lg.cms.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: cms
 * @Author: wuyuhang
 * @create: 2020-10-01 17:13
 */
public class ShiroUsernamePasswordToken extends org.apache.shiro.authc.UsernamePasswordToken {

    private String userType;
    private String username;
    private String password;

    public ShiroUsernamePasswordToken(String username, String password, String userType){
        super(username, password);
        this.userType = userType;
    }
//    public char[] getPassword(){
//        return this.password.toCharArray();
//    }
    public String getUserType(){
        return this.userType;
    }
    public void setUserType(String userType){
        this.userType = userType;
    }

}